﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using KC.DTO.Core;

namespace KC.Service.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class FlowStepDepartsDto : EntityBaseDTO
    {
        [DataMember]
        public Guid Fid { get; set; }
        [DataMember]
        [Display(Name = "父级ID")]
        public int Pfid { get; set; }
        [DataMember]
        [Display(Name = "部门ID")]
        public int DepartId { get; set; }
        [DataMember]
        [Display(Name = "部门名称")]
        [MaxLength(50, ErrorMessage = "输入{0}超长，最大可输入字符长度50")]
        public string DepartName { get; set; }
        [DataMember]
        [Display(Name = "部门编号")]
        [MaxLength(50, ErrorMessage = "输入{0}超长，最大可输入字符长度50")]
        public string DepartCode { get; set; }
        //public virtual FlowListsDto ListDto { get; set; }
    }
}
